//
//  UIFactory.h
//  UILbrary
//
//  Created by mac on 16/12/24.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface UIFactory : NSObject

/**
 button 工厂类

 @param frame frame
 @param backgroundImageName backgroundImageName
 @param imageName imageName
 @param title title
 @param color color
 @return button
 */
+ (UIButton *)buttonWithFrame:(CGRect )frame backgroundImageName:(NSString *)backgroundImageName imageName:(NSString *)imageName title:(NSString *)title titleColor:(UIColor *)color;
@end
